﻿using System;
using System.Runtime.InteropServices;


namespace advadev.Windows.CustomWindows.WindowsGDI
{

    /// <summary>
    /// The RECT structure defines the coordinates of the upper-left and
    /// lower-right corners of a rectangle
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    internal struct RECT
    {

        /// <summary>
        /// The x-coordinate of the upper-left corner of the rectangle
        /// </summary>
        internal int left;

        /// <summary>
        /// The y-coordinate of the upper-left corner of the rectangle
        /// </summary>
        internal int top;

        /// <summary>
        /// The x-coordinate of the lower-right corner of the rectangle
        /// </summary>
        internal int right;

        /// <summary>
        /// The y-coordinate of the lower-right corner of the rectangle
        /// </summary>
        internal int bottom;

    }

}
